package com.kmis.common.constant;

/**
 * @author moc
 */
public class JwtConstant {

    //token

    /**
     * token不存在
     */
    public static final int JWT_ERROR_NULL = 4000;
    /**
     * token过期
     */
    public static final int JWT_ERROR_EXPIRE = 4001;
    /**
     * 验证不通过
     */
    public static final int JWT_ERROR_FAIL = 4002;


//jwt

    /**
     * 密钥
     */
    public static final String JWT_SECERT = "22b1f82e804e2c285b472ff9a37d6f7c3aedc489e273c223b04d39ede20b48c3";
    /**
     * 过期时间
     */
    public static final long JWT_TTL = 24*60*60*1000;
}
